<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resource/bootstrap4/css/bootstrap.css">
    <script src="${pageContext.request.contextPath}/resource/jquery/jquery-3.4.1.js"></script>
    <script src="${pageContext.request.contextPath}/resource/bootstrap4/js/bootstrap.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/resource/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
<form action="/shop/getpage/" method="post">

</form>
   <table class="table">
        <tr>
            <td>全选</td>
            <td>商品编号</td>
            <td>商品名称</td>
            <td>商品价格</td>
            <td>商品上架时间</td>
            <td>商品品牌</td>
            <td>操作</td>
        </tr>
       <c:forEach items="${pg.list}" var="e">
           <tr>
               <td><input type="checkbox"></td>
               <td>${e.id}</td>
               <td>${e.name}</td>
               <td>${e.price}</td>
               <td>${e.puttime}</td>
               <td>${e.pname}</td>
               <td>修改删除</td>
           </tr>
       </c:forEach>
       <tr>
           <td colspan="7">
               <jsp:include page="/resource/common/pages.jsp"></jsp:include>
           </td>
       </tr>
   </table>
</body>


</html>